﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/ViewMasterPageMain.Master" Inherits="System.Web.Mvc.ViewPage<estudent.Models.sPredmeti>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Uredi Predmet
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="InnerRightContent" runat="server">

    <h1>Uredi predmet</h1>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

            
            <div class="editor-label">
                <%: Html.Label("Ime predmeta") %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.imePredmeta) %>
                <%: Html.ValidationMessageFor(model => model.imePredmeta) %>
            </div>

            
            <div class="editor-label">
                <%: Html.Label("Število kreditnih točk") %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.stKreditnih, Model.stKreditnih) %>
                <%: Html.ValidationMessageFor(model => model.stKreditnih) %>
            </div>
            
            <p>
                <input type="submit" class="button" value="Shrani" />
            </p>

    <% } %>

    <div>
        <%: Html.ActionLink("Nazaj na predmete", "Index") %>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="JQueryContent" runat="server">
</asp:Content>

